home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / X11 / XClientMessageEvent.z / XClientMessageEvent
Encoding:
Text File  |  2002-10-03  |  4.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXCCCClllliiiieeeennnnttttMMMMeeeessssssssaaaaggggeeeeEEEEvvvveeeennnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXCCCClllliiiieeeennnnttttMMMMeeeessssssssaaaaggggeeeeEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XClientMessageEvent - ClientMessage event structure
  10.  
  11.      SSSSTTTTRRRRUUUUCCCCTTTTUUUURRRREEEESSSS
  12.           The structure for _C_l_i_e_n_t_M_e_s_s_a_g_e events contains:
  13.  
  14.           typedef struct {
  15.                int type;                /* ClientMessage */
  16.                unsigned long serial;    /* # of last request processed by server */
  17.                Bool send_event;         /* true if this came from a SendEvent request */
  18.                Display *display;        /* Display the event was read from */
  19.                Window window;
  20.                Atom message_type;
  21.                int format;
  22.                union {
  23.                     char b[20];
  24.                     short s[10];
  25.                     long l[5];
  26.                        } data;
  27.           } XClientMessageEvent;
  28.  
  29.           When you receive this event, the structure members are set
  30.           as follows.
  31.  
  32.           The type member is set to the event type constant name that
  33.           uniquely identifies it.  For example, when the X server
  34.           reports a _G_r_a_p_h_i_c_s_E_x_p_o_s_e event to a client application, it
  35.           sends an _X_G_r_a_p_h_i_c_s_E_x_p_o_s_e_E_v_e_n_t structure with the type member
  36.           set to _G_r_a_p_h_i_c_s_E_x_p_o_s_e.  The display member is set to a
  37.           pointer to the display the event was read on.  The
  38.           send_event member is set to _T_r_u_e if the event came from a
  39.           _S_e_n_d_E_v_e_n_t protocol request.  The serial member is set from
  40.           the serial number reported in the protocol but expanded from
  41.           the 16-bit least-significant bits to a full 32-bit value.
  42.           The window member is set to the window that is most useful
  43.           to toolkit dispatchers.
  44.  
  45.           The message_type member is set to an atom that indicates how
  46.           the data should be interpreted by the receiving client.  The
  47.           format member is set to 8, 16, or 32 and specifies whether
  48.           the data should be viewed as a list of bytes, shorts, or
  49.           longs.  The data member is a union that contains the members
  50.           b, s, and l.  The b, s, and l members represent data of
  51.           twenty 8-bit values, ten 16-bit values, and five 32-bit
  52.           values.  Particular message types might not make use of all
  53.           these values.  The X server places no interpretation on the
  54.           values in the window, message_type, or data members.
  55.  
  56.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  57.           XAnyEvent(3X11), XButtonEvent(3X11),
  58.           XCreateWindowEvent(3X11), XCirculateEvent(3X11),
  59.           XCirculateRequestEvent(3X11), XColormapEvent(3X11),
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXCCCClllliiiieeeennnnttttMMMMeeeessssssssaaaaggggeeeeEEEEvvvveeeennnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXCCCClllliiiieeeennnnttttMMMMeeeessssssssaaaaggggeeeeEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           XConfigureEvent(3X11), XConfigureRequestEvent(3X11),
  75.           XCrossingEvent(3X11), XDestroyWindowEvent(3X11),
  76.           XErrorEvent(3X11), XExposeEvent(3X11),
  77.           XFocusChangeEvent(3X11), XGraphicsExposeEvent(3X11),
  78.           XGravityEvent(3X11), XKeymapEvent(3X11), XMapEvent(3X11),
  79.           XMapRequestEvent(3X11), XPropertyEvent(3X11),
  80.           XReparentEvent(3X11), XResizeRequestEvent(3X11),
  81.           XSelectionClearEvent(3X11), XSelectionEvent(3X11),
  82.           XSelectionRequestEvent(3X11), XUnmapEvent(3X11),
  83.           XVisibilityEvent(3X11)
  84.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.